将git commit的默认编辑器从nano转为vim

修改系统的配置

git config --global core.editor vim

针对 git 项目修改

.git/config core 中添加 editor=vim

posted @ 2017-09-06 10:47  bingo彬哥  阅读(7105)  评论(0编辑  收藏  举报
本站总访问量